package binary;

import com.sun.org.apache.xerces.internal.parsers.IntegratedParserConfiguration;

public class BinaryDemo {
    public static void main(String[] args) {
        int a=45;
        System.out.println(Integer.toBinaryString(a));
        System.out.println(a);

        a++;
        System.out.println(Integer.toBinaryString(a));
        System.out.println(a);



    }
}
